﻿using MediatR;
using ReturnValue;
using System.ComponentModel.DataAnnotations;

namespace MES.Server.API.Application.Command.Production_Modules
{
    /// <summary>
    /// 物料库存删除命令
    /// </summary>
    public class InventoryDeleteCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public long WarehouseId { get; set; }

        /// <summary>
        /// 当前库存
        /// </summary>
        public int CurrentInventory { get; set; }

        /// <summary>
        /// 库存上限
        /// </summary>
        public int InventoryCap { get; set; }

        /// <summary>
        /// 库存下限
        /// </summary>
        public int InventoryFloor { get; set; }

        /// <summary>
        /// 物料群组id
        /// </summary>
        public long MaterialGroupId { get; set; }

        /// <summary>
        /// 产品物料id
        /// </summary>
        public long ProductMaterialsId { get; set; }

        /// <summary>
        /// 出库状态
        /// </summary>
        public bool OutboundStatus { get; set; }
        

        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; } 
    }
}
